package java3_3;

import java.util.Scanner;

/**
 *7：输入10个数，求他们所有数的和
 */
public class homework7 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double sum = 0;
        for (int i = 1; i <= 10; i++) {
            double x = scanner.nextDouble();
            sum = sum + x;
        }
        System.out.println(sum);
    }
}
